package io.renren.modules.user.dao;

import io.renren.modules.user.entity.TPeopleNoticeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-09-04 13:58:13
 */
@Mapper
public interface TPeopleNoticeDao extends BaseMapper<TPeopleNoticeEntity> {

  List<TPeopleNoticeEntity> findNotice(TPeopleNoticeEntity noticeEntity);

  List<TPeopleNoticeEntity> findNoticeDept(@Param("peopleId")String peopleId,@Param("roleId")String roleId,@Param("deptId")String deptId);

  List<TPeopleNoticeEntity> findPeopleNotice(String peopleId);

}
